net/http.transferReader.StatusCode (field)
6 uses
net/http (current package)
transfer.go#L443: StatusCode int
transfer.go#L499: t.StatusCode = rr.StatusCode
transfer.go#L514: t.StatusCode = 200
transfer.go#L530: realLength, err := fixLength(isResponse, t.StatusCode, t.RequestMethod, t.Header, t.Chunked)
transfer.go#L555: if realLength == -1 && !t.Chunked && bodyAllowedForStatus(t.StatusCode) {
transfer.go#L565: if isResponse && (noResponseBodyExpected(t.RequestMethod) || !bodyAllowedForStatus(t.StatusCode)) {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |